﻿using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Potato.Model
{
    /// <summary>
    /// 填报生成记录表T_GenerateLog查询条件
    /// </summary>
    public class GenerateLogQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表名称
        /// </summary>
        public string TableName{ get;set;}
        /// <summary>
        /// 报表代码
        /// </summary>
        public string TableCode{ get;set;}
        /// <summary>
        /// 年度
        /// </summary>
        public string CreateYear{ get;set;}
        /// <summary>
        /// 时间周期
        /// </summary>
        public string Cycle{ get;set;}
        /// <summary>
        /// 周期值
        /// </summary>
        public string CycleValue { get; set; }
        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime? CreateTime{ get;set;}
        public string ReportLevel { get; set; }
    }
    public class GenerateLogModel
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 报表名称
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 报表代码
        /// </summary>
        public string TableCode { get; set; }
        public string TableCodeName { get; set; }
        /// <summary>
        /// 年度
        /// </summary>
        public string CreateYear { get; set; }
        public string CreateYearName { get; set; }
        /// <summary>
        /// 时间周期
        /// </summary>
        public string Cycle { get; set; }
        public string CycleName { get; set; }
        /// <summary>
        /// 周期值
        /// </summary>
        public string CycleValue { get; set; }
        /// <summary>
        /// 周期值
        /// </summary>
        public string CycleValueName { get; set; }
        /// <summary>
        /// 生成时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        public string StrCreateTime { get; set; }
        /// <summary>
        /// 填报级别
        /// </summary>
        public string ReportLevel { get; set; }
        public string ReportLevelName { get; set; }
    }
}
